package com.mapper;

import com.cc.model.EbNews;
import com.cc.model.EbProduce;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProduceMapper {
    List<EbProduce> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);

    int save (EbProduce ebProduce);
    int delete(Integer epId );
    EbProduce findById(int epId);
    public int updateByPrimaryKey(EbProduce ebProduce);
}

